package com.mega.fe.registry;

import com.mega.fe.command.FeManagerCommand;
import com.mega.fe.util.BaseInit;
import com.mojang.brigadier.CommandDispatcher;
import net.minecraft.commands.CommandSourceStack;
import net.minecraft.commands.Commands;

public class CommandInit {

    public static void register() {
        for (Commands commands : BaseInit.commands_instances) {
            System.out.print(commands);
            if (commands != null)
                FeManagerCommand.register(commands.getDispatcher());

        }
    }
}
